package com.indusfo.spc.pojo;

import com.indusfo.spc.common.pojo.BasePojo;

import java.util.Date;
/**
 * @Author louk
 * @Description  设备保养作业明细pojo
 * @Date 2019/12/12 21:05
 **/
public class MaintainWorkDetail extends BasePojo {
    /**
     * 设备保养作业明细id
     */
    private Integer maintainWorkDetailId;
    /**
     * 设备保养作业id
     */
    private Integer maintainWorkId;
    /**
     * 保养项目id
     */
    private Integer maintainId;
    /**
     * 合格状态
     */
    private Integer qualified;
    /**
     * 创建日期
     */
    private String createDate;
    /**
     * 修改日期
     */
    private String modifyDate;
    /**
     * 备注
     */
    private String remark;
    /**
     * 数据状态
     */
    private Integer dataState;
    /**
     * @Author louk
     * @Description 以上是数据库生成字段,以下是衍生字段
     * @Date 2019/12/12 21:08
     **/

    // 保养项目编号
    private String maintainCode;
    // 保养项目名称
    private String maintainName;
    // 保养项目要求
    private String maintainRequire;
    /**
     * 合格状态名称
     */
    private String qualifiedName;

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public String getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(String modifyDate) {
        this.modifyDate = modifyDate;
    }

    public String getMaintainCode() {
        return maintainCode;
    }

    public void setMaintainCode(String maintainCode) {
        this.maintainCode = maintainCode;
    }

    public String getMaintainName() {
        return maintainName;
    }

    public void setMaintainName(String maintainName) {
        this.maintainName = maintainName;
    }

    public String getMaintainRequire() {
        return maintainRequire;
    }

    public void setMaintainRequire(String maintainRequire) {
        this.maintainRequire = maintainRequire;
    }

    public String getQualifiedName() {
        return qualifiedName;
    }

    public void setQualifiedName(String qualifiedName) {
        this.qualifiedName = qualifiedName;
    }

    public Integer getMaintainWorkDetailId() {
        return maintainWorkDetailId;
    }

    public void setMaintainWorkDetailId(Integer maintainWorkDetailId) {
        this.maintainWorkDetailId = maintainWorkDetailId;
    }

    public Integer getMaintainWorkId() {
        return maintainWorkId;
    }

    public void setMaintainWorkId(Integer maintainWorkId) {
        this.maintainWorkId = maintainWorkId;
    }

    public Integer getMaintainId() {
        return maintainId;
    }

    public void setMaintainId(Integer maintainId) {
        this.maintainId = maintainId;
    }

    public Integer getQualified() {
        return qualified;
    }

    public void setQualified(Integer qualified) {
        this.qualified = qualified;
    }



    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim().replace(" ","");
    }

    public Integer getDataState() {
        return dataState;
    }

    public void setDataState(Integer dataState) {
        this.dataState = dataState;
    }

    public MaintainWorkDetail(Integer maintainId,Integer maintainWorkId, Integer qualified) {
        this.maintainId = maintainId;
        this.maintainWorkId=maintainWorkId;
        this.qualified = qualified;
    }

    public MaintainWorkDetail(Integer maintainWorkDetailId, Integer maintainWorkId, Integer maintainId, Integer qualified) {
        this.maintainWorkDetailId = maintainWorkDetailId;
        this.maintainWorkId = maintainWorkId;
        this.maintainId = maintainId;
        this.qualified = qualified;
    }

    public MaintainWorkDetail() {
    }
}